﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CarInfoDBAccess.ModelForWS
{
    public class CarInfo
    {
        private int _Id;
        /// <summary>
        /// id
        /// </summary>
        public int Id
        {
            get { return _Id; }
            set { _Id = value; }
        }

        private string _Name;
        /// <summary>
        /// 名字
        /// </summary>
        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        private int _IsDelete = 0;

        public int IsDelete
        {
            get { return _IsDelete; }
            set { _IsDelete = value; }
        }

        private double _Price;
        /// <summary>
        /// 价格
        /// </summary>
        public double Price
        {
            get { return _Price; }
            set { _Price = value; }
        }


        private byte[] _img;
        /// <summary>
        ///  图片二进制
        /// </summary>
        public byte[] Img
        {
            get { return _img; }
            set { _img = value; }
        }



        private string _Type;
        /// <summary>
        /// 车型厢式
        /// </summary>
        public string Type
        {
            get { return _Type; }
            set { _Type = value; }
        }

        private int _CtID;
        /// <summary>
        /// 该车款属于哪个车型
        /// </summary>
        public int CtID
        {
            get { return _CtID; }
            set { _CtID = value; }
        }
    }
}
